package com.sdlg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sdlg.pojo.RoleMenu;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface RoleMenuMapper extends BaseMapper<RoleMenu> {
    @Select("SELECT menu_id FROM t_role_menu WHERE role_id=#{gid}")
    public List<Integer> getCheckitemIdByGroupId(@Param("gid") Integer gid);
}
